package org.test.ping;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.reactive.function.client.WebClient;

/**
 * Hello world!
 */
@SpringBootApplication
public class PingServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(PingServiceApplication.class, args);
     }
    @Bean
    public WebClient webClient(){
        return WebClient.builder().build();
    }
}
